﻿using Caliburn.Micro;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace myapp.ViewModels
{
    /// <summary>
    /// Base View Model
    /// </summary>
    public class BaseViewModel : Screen
    {
        #region Attribute
        private string _title;
        #endregion

        #region Properties
        public string Title 
        {
            get
            {
                return _title;
            }
            set
            {
                if (!string.IsNullOrEmpty(value))
                {
                    _title = value;
                    NotifyOfPropertyChange(() => Title);
                }
            }
        }
        #endregion

        #region Constructure
        public BaseViewModel()
        {
            Title = "Not exist content view here!";
        }
        #endregion

        #region Method
        
        #endregion
    }
}
